package com.aispeech.asr.comm.data.pojo;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.MongoId;

@ToString
@Document("lasr_offline_applications")
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public final class ProductSettingDoc {
    @MongoId
    private String id;
    private int priority = 0;
    private int concurrencies = 5;
    private int queueSize = 10000;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }

    public int getConcurrencies() {
        return concurrencies;
    }

    public void setConcurrencies(int concurrencies) {
        this.concurrencies = concurrencies;
    }

    public int getQueueSize() {
        return queueSize;
    }

    public void setQueueSize(int queueSize) {
        this.queueSize = queueSize;
    }
}
